package familytree.yu.com.admin.api.service.memberinfo;

import familytree.yu.com.admin.api.entity.memberinfo.BaseMemberLoginInfoEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

/**
 * @Author: yuyunbo
 * @Date: 2021/2/8 21:46
 * @Description:
 */
public interface IBaseMemberLoginInfoService {

    /**
     *  保存会员登录信息
     * @param baseMemberLoginInfoEntity
     * @return
     */
    Long saveBaseMemberLoginInfo(BaseMemberLoginInfoEntity baseMemberLoginInfoEntity);

    /**
     * 分页查询会员信息
     * @param pageRequest
     * @return
     */
    Page<BaseMemberLoginInfoEntity> queryPageInfo(PageRequest pageRequest);

    /**
     * 根据手机号查询会员是否存在
     * @param memberPhone
     * @return
     */
    BaseMemberLoginInfoEntity querBaseMemberLoginInfo(String memberPhone);


}
